package com.sparrow.source.persistense.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sparrow.source.persistense.FyUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author bryceyung
 * @since 2024/11/16
 */
@Repository
public interface FyUserMapper extends BaseMapper<FyUser> {

    /**
     * 批量新增
     *
     * @param userList
     * @return
     */
    boolean saveOrUpdateBatch(@Param("userList") List<FyUser> userList);
}
